package cn.e4j.modular.crm.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author miaoyl
 * @since 2019-01-09
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWCA_T")
public class Gwcq004Export extends PO<Gwcq004Export> {

    private static final long serialVersionUID = 1L;

    @Excel(name = "招标", replace = {"是_Y","否_N"})
    private String GWCA003;

    @Excel(name = "中标通知书")
    private String GWCA039;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "归档时间",exportFormat="yyyy-MM-dd")
    private LocalDate GWCA037;

    @Excel(name = "合同回笼份数")
    private String GWCA038;

    @Excel(name = "签订单位")
    private String GWCAMLEGAL_NAME;

    @Excel(name = "合同编号")
    private String GWCA005;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签订日期",exportFormat="yyyy-MM-dd")
    private LocalDate GWCA036;

    @Excel(name = "订单类型", replace = {"直销_1","投标_2","项目_3","国外_4"})
    private String GWCA002;

    @Excel(name = "客户类型", replace = {"政府部门_1","企业单位_2","个人_3","经销商_4","龙马子公司_5"})
    private String GWAK009;

    @Excel(name = "客户单位")
    private String GWCA006_NAME;

    @Excel(name = "产品大类")
    private String GWAHL003;

    @Excel(name = "车辆类型")
    private String GWAOL003;

    @Excel(name = "车型")
    private String GWCB002;

    @Excel(name = "单位")
    private String GWCB005_NAME;

    @Excel(name = "数量")
    private String GWCB006;

    @Excel(name = "单价(元)")
    private String GWCB008;

    @Excel(name = "总价(元)")
    private String GWCB010;

    @Excel(name = "成本(元)")
    private String COST;

    @Excel(name = "毛利(万元)")
    private String GROSS;

    @Excel(name = "总毛利(万元)")
    private String TOTAL_GROSS;

    @Excel(name = "毛利率%")
    private String RATE;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合同交货日期",exportFormat="yyyy-MM-dd")
    private LocalDate GWCA026;

    @Excel(name = "支付方式", replace = {"半年(含)以内_1","分期1年(含)以内_2","分期1年~2年(含)以内_3","分期2年~3年(含)以内_4","分期3年~4年(含)以内_5","4年以上_6"})
    private String GWCA020;

    @Excel(name = "付款周期", replace = {"1年_1","1年~2年_2","2年~3年_3","3年~4年_4","4年~5年_5","正常_6"})
    private String GWCA025;

    @Excel(name = "付款方式")
    private String GWCA059;

    @Excel(name = "客户联系人")
    private String GWCA017;

    @Excel(name = "客户联系电话")
    private String GWCA018;

    @Excel(name = "最终客户")
    private String GWCA007;

    @Override
    protected Serializable pkVal() {
        return serialVersionUID;
    }

}
